type settingValue =
  | 'any'
  | 'portrait-primary'
  | 'portrait-secondary'
  | 'landscape-primary'
  | 'landscape-secondary'
  | 'portrait'
  | 'landscape'
  | number;
type orientationValue = 'landscape' | 'portrait' | '';

export interface typeResult {
  orientation: orientationValue;
  setting: settingValue;
}

export interface lockOption {
  setting: settingValue;
  orientation: orientationValue;
}

export interface ScreenPlugin {
  echo(options: { value: string }): Promise<{ value: string }>;
  type(): Promise<typeResult>;
  lock(options: lockOption): Promise<void>;
}
